<%--
  Created by IntelliJ IDEA.
  User: 86131
  Date: 2021/8/23
  Time: 11:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>管理员界面</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->

    <!-- Bootstrap -->
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="js/jquery.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="js/bootstrap.min.js"></script>
</head>
<body>
<%--火车车次添加表单--%>
        <div class="container">
            <h3>火车车次添加</h3>
            <form class="form-horizontal" method="post" action="${pageContext.request.contextPath}/AddTrainNumberServlet">
                <div class="form-group">
                    <label for="trainNumber" class="col-sm-2 control-label">火车车次</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control" id="trainNumber" placeholder="火车车次" name="trainNumber">
                    </div>
                </div>
                <div class="form-group">
                    <label for="startStation" class="col-sm-2 control-label">始发站</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control" id="startStation" placeholder="始发站" name="startStation">
                    </div>
                </div>
                <div class="form-group">
                    <label for="endStation" class="col-sm-2 control-label">终点站</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control" id="endStation" placeholder="终点站" name="endStation">
                    </div>
                </div>
                <div class="form-group">
                    <label for="startTime" class="col-sm-2 control-label">发时</label>
                    <div class="col-sm-4">
                        <input type="time" class="form-control" id="startTime" placeholder="发时" name="startTime">
                    </div>
                </div>
                <div class="form-group">
                    <label for="endTime" class="col-sm-2 control-label">到时</label>
                    <div class="col-sm-4">
                        <input type="time" class="form-control" id="endTime" placeholder="到时" name="endTime">
                    </div>
                </div>
                <div class="form-group">
                    <label for="endStation" class="col-sm-2 control-label">车厢数量</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control" id="endStation" placeholder="车厢数量" name="vehicleNumber">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-2"> </div>
                    <div class="col-sm-7">
                        <button type="submit" class="btn btn-default">提交</button>
                    </div>
                </div>
            </form>
        </div>
</body>
</html>
